<template>
  <div class="container">
    <div class="header">
      <el-input
        prefix-icon="el-icon-search"
        placeholder="请输入"
        @keyup.enter.native="handleFormSubmit(true)"
        style="width: 200px;margin-right: 10px;"
        :clearable="true"
      />
      <el-button type="primary" icon="el-icon-search" @click="handleFormSubmit(true)">查询</el-button>
    </div>
    <div class="main"></div>
  </div>
</template>

<script>
export default {
  data () {
    return {

    }
  },
  methods: {
    handleFormSubmit () { },
    handleFormSubmit () { }
  }
}
</script>

<style lang="scss" scoped>
.header {
  padding: 20px;
  border-bottom: 1px solid #ccc;
}
</style>